home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / program / ddj0897.zip / RCSC.ZIP / SRC / MAKEFILE < prev    next >
Text File  |  1997-01-12  |  568b  |  28 lines

  1. # Makefile for the Retargetable Concurrent Small C Compiler 
  2. # please note that the file containing main() must be the last one
  3. # specified in the link process
  4.  
  5. DIR     = \rcsc
  6. CC       = $(DIR)\bin\rcsc
  7. OBJECTS  = cc2.obj cc3.obj cc4.obj cc1.obj
  8. ASMS     = cc2.asm cc3.asm cc4.asm cc1.asm
  9. #SCFLAGS  = -m -a -p
  10.  
  11. rcsc.exe: $(OBJECTS)
  12.     link $(OBJECTS) , rcsc, rcsc, $(DIR)\lib86\clib.lib $(DIR)\lib86\csc.lib;
  13.  
  14. asm: $(ASMS)
  15.  
  16. .SUFFIXES
  17.  
  18. .asm.obj:
  19.     masm $<;
  20.  
  21. .m4.asm:
  22.     m4 $(DIR)\bin\8086.m4 $< > $*.asm
  23.  
  24. .c.m4:
  25.     $(CC) $< $(SCFLAGS)
  26.  
  27.